package com.lysj.order.order.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @ Author ：drj.
 * @ Date  ：Created in 16:05 2019/3/29
 * @ Description: 订单查询dto
 **/
@Data
public class OrderQueryDto {

    private String storeId;

    private String orderNumber;//订单号

    @DateTimeFormat(pattern = "yyyy-MM-dd") //前段传值使用string 转date
    private Date startCreateTime;//开始时间

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date endCreateTime;//结束时间
}
